package com.weixing.mall.pay.channel.wx;

/**
 * @ClassName WxTradeTypeEnum
 * @Description  交易状态
 * @Author Small
 * @Date 2019/11/29 15:53
 * @Version 1.0
 **/
public enum TradeStateEnum {
    SUCCESS("SUCCESS", "支付成功"),
    REFUND("REFUND", "转入退款"),
    NOTPAY("NOTPAY", "未支付"),
    CLOSED("CLOSED", "已关闭"),
    REVOKED("REVOKED", "已撤销（付款码支付）"),
    USERPAYING("USERPAYING", "用户支付中（付款码支付）"),
    PAYERROR("PAYERROR", "支付失败(其他原因，如银行返回失败)"),
    ;
    private String status;
    private String statusDesp;

    TradeStateEnum(String status, String statusDesp) {
        this.status = status;
        this.statusDesp = statusDesp;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getStatusDesp() {
        return statusDesp;
    }

    public void setStatusDesp(String statusDesp) {
        this.statusDesp = statusDesp;
    }
}
